package project5;

public class Main {
    public static void main(String[] args) {
        Vehicle car=new Vehicle("benz","black");
        System.out.println(car.getBrand()+" "+car.getColor()+" "+car.getSpeed());
        car.run();
        Car car2=new Car("Honda","red",2);
        System.out.println(car2.getBrand()+" "+car2.getColor()+" "+car2.getLoader()+" "+car2.getSpeed());
        car2.run();
    }
}
